package com.eastfair.venuebooking.api;

import com.eastfair.core.base.R;
import com.eastfair.venueservice.vo.ReportVenueDrawingAuditHistoryVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 一键报馆图纸审核记录历史 feign.
 *
 * @author dqq
 * @date 2022 /9/17
 */
@FeignClient(value = "venue-services-manage/reportVenueDrawingAuditHistory")
public interface ReportVenueDrawingAuditHistoryFeign {

    /**
     * 图纸分类审核历史ID查询图纸历史列表.
     *
     * @param reportVenueDrawingCategoryAuditHistoryId the report venue drawing category audit history id
     * @return the r
     */
    @GetMapping("/categoryAuditHistoryId/{reportVenueDrawingCategoryAuditHistoryId}")
    R<List<ReportVenueDrawingAuditHistoryVO>> queryByReportVenueDrawingCategoryAuditHistoryId(@PathVariable("reportVenueDrawingCategoryAuditHistoryId")
                                                                                              Long reportVenueDrawingCategoryAuditHistoryId);
}